Skip to content

[skip changelog] Libraries install dir path is now canonical #1293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 19, 2021

Conversation

silvanocerza
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • What kind of change does this PR introduce?

Fixes issues with testing on Windows.

  • What is the current behavior?

The Workflow runners use 8.3 style naming convention for paths on Windows, see an example below.

Libraries install directory path is saved using the 8.3 style, this causes problems when trying to verify that a certain path is returned in the output of certain commands on Windows.

# 8.3 style path
C:\\Users\\RUNNER~1\\AppData\\Local

# Canonical
C:\\Users\\runneradmin\\AppData\\Local
  • What is the new behavior?

All libraries install directory paths are canonicalized so the 8.3 style path is not printed on Windows.

No.

  • Other information:

We'll need to rebase #1291 after this is merged.


See how to contribute

This stems mainly from the fact the CI uses 8.3 naming convention for
paths on Windows, that causes several issues when trying to verify that
certain paths are printed in the output of certain commands.

Making sure that canonical paths are set as installation directory for
all libraries makes it easier to test.

For more info on 8.3 paths see: https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#short-vs-long-names
@silvanocerza silvanocerza added topic: testing os: windows Specific to Windows operating system labels May 19, 2021
@silvanocerza silvanocerza requested a review from a team May 19, 2021 07:08
@silvanocerza silvanocerza self-assigned this May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: windows Specific to Windows operating system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants